﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ClearLatLng.aspx.cs" Inherits="GIS_ClearLatLng" MasterPageFile="~/MasterPage.master"%>

 
<%@ Register Src="../UserControl/GridPager.ascx" TagName="GridPager" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>门店坐标初始化</title>

    <script src="../JavaScript/common.js" type="text/javascript"></script>
    <link href="../Resources/styles/style.css" rel="stylesheet" type="text/css" />
   

    <style type="text/css">
        .style1
        {
            width: 356px;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <table id="wsd_inputtable">
            <tr>
                <td class="tabletitle" colspan="6">
                    <asp:Literal ID="Literal4" runat="server" Text="<%$resources:language,lbl_Query_Condition %>"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="tablefield">
                    部门
                </td>
                <td    >
                    <asp:TextBox ID="txtOrg"  class="default" runat="server" 
                        onkeydown="alert('请选择部门');return false;"></asp:TextBox>
                    <img src="../Resources/Images/search.png" alt="查找" style="cursor: pointer;" onclick="openPopup('../System/PopupOrganization.aspx?NameControlId=<%# txtOrg.UniqueID %>&ValueControlId=<%# txtHidOrg.UniqueID %>&ChainsControlID=<%# txtHidChains.UniqueID %>&SelectType=multi','','300','500');" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtOrg" ErrorMessage="请选择部门!"></asp:RequiredFieldValidator>
                </td>
                <td class="tablefield">
                    <asp:Literal ID="Literal2" runat="server" Text="<%$resources:language,lbl_SalesChannel %>"></asp:Literal>
                </td>
                <td nowrap="nowrap">
                    <asp:DropDownList runat="server" ID="ddlChannel" Width="130">
                    </asp:DropDownList>
                </td>
                <td class="tablefield">
                    门店名称
                </td>
                <td nowrap="nowrap">
                    <asp:TextBox runat="server"   class="default" ID="txtCustomer" MaxLength="20" Width="130px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tablefield">
                    门店编号
                </td>
                <td  >
                    <asp:TextBox ID="txtCustomerID"   class="default" runat="server"></asp:TextBox>
                </td>
                 
                <td nowrap="nowrap">
                    <input id="txtHidOrg" type="hidden" runat="server" />
                    <input id="txtHidChains" type="hidden" runat="server" />
                    
                </td>
                <td class="buttonarea" colspan="6">
                    <asp:Button ID="btnQuery" runat="server" class="wsd_button2" Text="<%$resources:language,btn_Query %>"
                        OnClick="btnQuery_Click" />
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td class="tabletitle">
                    <asp:Literal ID="Literal11" runat="server" Text="<%$resources:language,lbl_CustomerList %>"></asp:Literal>
                </td>
             
            </tr>
        </table>
        <table id="wsd_listtable" width="100%">
            <tr>
                <td style="width: 100%">
                    <asp:GridView BorderWidth="0" Width="100%" ID="gvChannelType" runat="server" AutoGenerateColumns="false"
                        EmptyDataText="<%$resources:language,lbl_Empty %>" EmptyDataRowStyle-Font-Bold="true"
                        EmptyDataRowStyle-HorizontalAlign="Center" OnRowDataBound="Grid_RowDataBound"
                        EnableEmptyContentRender="true" AllowPaging="True" OnPageIndexChanging="gvChannelType_PageIndexChanging"
                        PageSize="20">
             <HeaderStyle  BackColor="#DCEAFF" Font-Bold="True"   /> 
                           
                        <EmptyDataRowStyle HorizontalAlign="Center" Font-Bold="True"></EmptyDataRowStyle>
                        <Columns>
                            <asp:BoundField HeaderText="编号" DataField="ID" />
                            <asp:BoundField HeaderText="<%$resources:language,lbl_CustomerName %>" DataField="NAME" />
                            <asp:BoundField HeaderText="<%$resources:language,lbl_SalesChannel %>" DataField="Channel" />
                            <asp:BoundField HeaderText="<%$resources:language,lbl_Address %>" DataField="ADDRESS_LINE" />
                            <asp:BoundField HeaderText="固定电话" DataField="TELEPHONE" />
                            <asp:BoundField HeaderText="手机" DataField="FAX" />
                            <asp:BoundField HeaderText="经度" DataField="IDENTITY1" />
                            <asp:BoundField HeaderText="纬度" DataField="IDENTITY2" />
                            <asp:TemplateField HeaderText="全选" ItemStyle-HorizontalAlign="center" HeaderStyle-HorizontalAlign="center">
                                <ItemTemplate>
                                    <asp:CheckBox ID="chkClear" runat="server" />
                                </ItemTemplate>
                                <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle CssClass="evenline" />
                        <AlternatingRowStyle CssClass="oddline" />
                        <PagerSettings PageButtonCount="30" FirstPageText="<%$ resources:language, lbl_First_Page%>"
                            LastPageText="<%$ resources:language, lbl_Last_Page%>" Mode="NumericFirstLast"
                            NextPageText="<%$ resources:language, lbl_NextPage%>" PreviousPageText="<%$ resources:language, lbl_PreviousPage%>" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td width="100%" class="tabletitle">
                    <asp:Literal ID="Literal12" runat="server" Text="<%$resources:language,lbl_Operation_Area %>"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="buttonarea" colspan="6">
                    <asp:Button ID="btnNew" runat="server" class="wsd_button2" Text="初始化坐标" OnClick="btnNew_Click"
                        CausesValidation="False" />
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
 </asp:Content>
